Return to start page

addExistingUnitWithType

Description

Note that after unit existingUnit has died there will be spawned a new RANDOM unit from unit pool. weight Weight of added unit type. This value has no effects if addType is false. Returns the number of the added unit in the unit group.

Source File

Systems/World/Struct Spawn Point.j

Library

AStructSystemsWorldSpawnPoint

Scope

-

Private

No

Parameters

Return Type

integer

Public

Yes

Native

No

Constant

No

Container

ASpawnPoint

Static

No

Stub

No

Operator

No

Default Return Value

-